#ifndef MAN_100_H
#define MAN_100_H
#include<QTimer>
#include <QMainWindow>

namespace Ui {
class man_100;
}

class man_100 : public QMainWindow
{
    Q_OBJECT

public:
    explicit man_100(QWidget *parent = 0);
    ~man_100();
    void paintEvent(QPaintEvent *event);//绘画函数
    void Man();//人
    void keyPressEvent(QKeyEvent *event);//键盘事件
private slots:
    void man_update();
    QRect board();//产生木块
private:
    Ui::man_100 *ui;
    QRect man;
    QTimer *timer;
    QTimer *time_cloud;
    int direction;
    bool Start;//开始
    QRect Board;
    int first;
    bool gameover;
    QString GAME;
};
#endif // MAN_100_H
